package com.aysafety.iotdataplatformweb.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @program: iotDataPlatform
 * @description: 声发射
 * @author: ChengQi
 * @create: 2019-02-14 10:02
 **/
@Mapper
@Repository
public interface SoundDao {

    /** 
    * @Description: 统计声发射强度数据条数
    * @Param: [params] 
    * @return: long 
    * @Author: ChengQi 
    * @Date: 2019/2/14 
    */ 
    long countByAcousticEmissionIntensity(Map<String,Object> params);

    /** 
    * @Description: 声发射能量
    * @Param: [params] 
    * @return: java.util.List<java.util.Map<java.lang.String,java.lang.Object>> 
    * @Author: ChengQi 
    * @Date: 2019/2/14 
    */ 
    List<Map<String, Object>> queryRealTimeByAcousticEmissionIntensity(Map<String,Object> params);


    /**
     * @Description: 统计声波脉冲数据条数
     * @Param: [params]
     * @return: long
     * @Author: ChengQi
     * @Date: 2019/2/14
     */
    long countBySonicPulseRealTime(Map<String,Object> params);

    /**
     * @Description: 声波脉冲
     * @Param: [params]
     * @return: java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
     * @Author: ChengQi
     * @Date: 2019/2/14
     */
    List<Map<String, Object>> queryRealTimeBySonicPulseRealTime(Map<String,Object> params);


    /** 
    * @Description: 特征参数查询
    * @Param: [parram] 
    * @return: java.util.List<java.util.Map<java.lang.String,java.lang.Object>> 
    * @Author: ChengQi 
    * @Date: 2019/2/26 
    */ 
    List<Map<String, Object>> queryCal(Map<String, Object> parram);
}
